/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package se.kth.lwr.jeat.samples.onsitetreatment;

import org.jscience.physics.amount.Amount;
import se.kth.lwr.jeat.core.AmountDataSource;
import se.kth.lwr.jeat.core.EmissionCategory;
import se.kth.lwr.jeat.core.Inventoriable;
import se.kth.lwr.jeat.core.Inventory;
import se.kth.lwr.jeat.core.InventoryDataSource;

/**Data that might be useful for several scenarios
 *
 * @author davidev
 */
public class GlobalData {


    
    /**
     * Composition of untreated wastewater (jönsson et. al 2005)
     *
     */
    
    public static final InventoryDataSource rawWasteWater = new InventoryDataSource("rawWasteWater",
            "Composition of untreated wastewater (jönsson et. al 2005)",
            new Inventoriable() {
                @Override
                public Inventory getInventory() {
                    Inventory retval=Inventory.emptyInventory();
                    retval.addEmissionToWater(EmissionCategory.P, Amount.valueOf(2.08, Units.GRAM_PER_PERSON_AND_DAY));
                    retval.addEmissionToWater(EmissionCategory.N, Amount.valueOf(14.03, Units.GRAM_PER_PERSON_AND_DAY));
                    retval.addEmissionToWater(EmissionCategory.BOD7, Amount.valueOf(72.9, Units.GRAM_PER_PERSON_AND_DAY));
                    return retval;
                    
                    
                }});
}
